package com.tjbaobao.videoplayol.utils;


import com.tjbaobao.framework.utils.FileUtil;

import java.io.File;

/**
 *
 * Created by TJbaobao on 2018/1/12.
 */

public class ConstantUtil extends com.tjbaobao.framework.utils.ConstantUtil {
    public static final String SERVER_URL = "http://192.168.0.154:8080/VPOL/";//http://s.imczm.com,192.168.31.127
    public static final String DOWNLOAD_SERVER_URL = SERVER_URL+"FileDownloadServlet";
    public static final String UPLOAD_SERVER_URL = SERVER_URL+"FileUploadServlet";
    public static final String GET_SERVER_URL = SERVER_URL+"Index";

    public static String getDeviceInfoPath()
    {
        String path = getMyAppPath()+".device"+ File.separator;
        FileUtil.createFolder(path);
        return path+"DEVICE.INFO";
    }
}
